package exam;

/**
 * Created by IntelliJ IDEA.
 * User: Shawn
 * Date: 2009-5-29
 * Time: 12:32:20
 */
public class TestPaperInfo {
    private long tid;
    private long eid;
    private long date;
    private long startTime;
    private long endTime;
    private long time;
    private int state;
    private int score;
    private int cheat;

    public TestPaperInfo() {
    }

    public TestPaperInfo(long eid, long date) {
        this.eid = eid;
        this.date = date;
        this.startTime = System.currentTimeMillis();
        this.state = ExamVar.STATE_START;
        this.score = -1;
    }

    public long getTid() {
        return tid;
    }

    public void setTid(long tid) {
        this.tid = tid;
    }

    public long getEid() {
        return eid;
    }

    public void setEid(long eid) {
        this.eid = eid;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getCheat() {
        return cheat;
    }

    public void setCheat(int cheat) {
        this.cheat = cheat;
    }
}
